from appium.webdriver.common.appiumby import AppiumBy

from base.home_base import HomeBase


class HomePage(HomeBase):

    def search_bar_click(self, driver):
        search_bar_xpath = self.search_bar()
        return self.click_new(driver, AppiumBy.XPATH, search_bar_xpath)
